package com.alex.designPattern.decorator;

import com.alex.designPattern.HibernateDao;


public class Client {
	
	public static void main(String[] args){
		HibernateDao hDao = new HibernateDao();
		LogerDec lDec = new LogerDec(hDao);
		JsonDec jDec = new JsonDec(lDec);
		
		System.out.println(jDec.getById());
		
	}
	
}
